<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title>礼品中心-{$web_config['web_title']}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<link href="/assets/css/frontend.min.css?v=1.0.1" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
        <link href="/assets/css/user.css?v=1.0.1" rel="stylesheet">
    </head>

    <body>
		{include file="header"}

        <main class="content">
            <section class="addon-section">	
		<div class="container">
			<div class="text-line">
				<h5><span>精选商品</span></h5>
				<div class="subtitle">全国多仓发货</div>
			 </div>
				<div class="addon-filter">
					<ul class="nav nav-pills hidden-xs tab">
						<li role="presentation"><a href="{:url("goods/index")}">全部</a></li>
						{volist name="warehouse" id="vo"}
							<li role="presentation" {if $wid==$vo.w_id}class="active"{/if}><a href="{:url('goods/lists',array('wid'=>$vo.w_id))}" rel="nofollow">{$vo.w_title}</a></li>
						{/volist}					 
					</ul>
				</div>
				<div class="addon-list">
					<div class="row">
						{volist name="gift" id="vo"}
						<div class="col-lg-3 col-md-4 col-xs-6 grid-item">
							<div class="addon-item"><div class="tags tags-recommend"></div>
								<div class="addon-img">
									<a href="{:url('goods/content',array('id'=>$vo.gift_id))}" title="{$vo.gift_title}">
										<img src="{$vo.gift_img}" alt="{$vo.gift_title}" class="img-responsive" width="300" height="200">
									</a>
								</div>
								<div class="addon-info">
									<div class="title">
										<a href="{:url('goods/content',array('id'=>$vo.gift_id))}" target="_blank" title="{$vo.gift_title}">{$vo.gift_title}</a>
									</div>
									<div class="metas clearfix"> 
										<span class="text-danger"><i class="fa fa-rmb"></i>{$vo.gift_money}</span>  
										<span class="addon-price"><a href="{:url('order/buy',array('id'=>$vo.gift_id))}" class="btn btn-primary btn-sm active" role="button">立即购买</a></span> 
									</div>
								</div>
							</div>
						</div>
					 	{/volist}
					</div>
				</div>
			</div>
		</section>	
        </main>
         
		{include file="footer_content"}
    </body>
</html>